Method LoadWithParentsAsync<TProps>(long, IRedbUser, int, bool?)

Assembly: redb.Core.dll

Load object from EAV by ID with parent chain to root with explicit user.
Returns TreeRedbObject with populated Parent property up to root.
Returns null if object not found and config.ThrowOnObjectNotFound = false.

Task<TreeRedbObject<TProps>?> LoadWithParentsAsync<TProps>(long objectId, IRedbUser user, int depth = 10, bool? lazyLoadProps = null) where TProps : class, new()